package cn.wbu.zyh.service;

import cn.wbu.zyh.dto.TeamDTO;
import cn.wbu.zyh.dto.TeamMemberDTO;
import cn.wbu.zyh.dto.TeamMemberPageQueryDTO;
import cn.wbu.zyh.result.PageResult;
import cn.wbu.zyh.vo.TeamVO;

public interface TeamService {
    void createTeam(TeamDTO teamDTO);

    TeamVO getHasTeam(String username);

    void leaveTeam(TeamDTO teamDTO);

    PageResult pageQuery(TeamMemberPageQueryDTO teamMemberPageQueryDTO);

    void RemoveTeamMember(String username);

    void update(TeamMemberDTO teamMemberDTO);

    void CheckTLQuitTeam(TeamDTO teamDTO);

    void deleteTeam(String teamId);
}
